package com.lj.cloudDisk.pojo.dao;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class RegisterVo {

    @NotEmpty(message = "注册昵称不能为空")
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @NotEmpty(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "头像")
    private String avatar;

    @NotEmpty(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String code;
}
